import time


def run(n):
    print('task',n)
    time.sleep(3)
# t1 = threading.Thread(target=run,args=('t11',))#t11传给参数n
# t2 = threading.Thread(target=run,args=('t21',))
# t1.start()
# t2.start()

run('t11')
run('t21')


